package com.nb.DTO;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Positive;
import lombok.Data;


@Data
public class LawyerInfoDTO {
    private Long id;

    @NotBlank(message = "律师执照号不能为空")
    private String licenseNo;

    @NotBlank(message = "专业领域不能为空")
    private String specialty;

    @Positive(message = "执业年限必须为正数")
    private Integer yearsOfPractice;

    private String introduction;

    @NotBlank(message = "服务区域不能为空")
    private String serviceArea;

    private Double successRate; // 胜诉率
}

